package com.zhouyu.service;

import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;

/**
 * @author wangmeng
 * @since 2024/5/13
 */
@Configuration
public class UserConfig {


	@Bean
	@Primary
	public User getUser(){
		return new User();
	}
	@Bean
	@Primary
	public User getUser2(){
		return new User();
	}
}
